const URL = "http://localhost:8888/"
const permission = "permission"; // 认证
export const kimiURL = URL + "kimi/chat?message=";
export const loginURL = URL + permission + "/login";
export const getInfoURL = URL + "user/init";
export const putInfoURL = URL + "user/update";
export const getSubInfoURL = URL + "student/getSubData";
export const getGrade = URL + "student/getGrade";
export const getExp = URL + "student/getExp";
export const delExp = URL + "student/delExp";
export const getSignIn = URL + "student/getSignIn";
export const getStudentByClass = URL + "teacher/getStudentByClass";
export const getAll = URL + "user/getAllUser";
export const getLog = URL + "user/getLoginLog";
export const updateUserInfo = URL + "user/updateUserInfo";
export const KimiChat = URL + "kimi/chat";
export const putHomeworks = URL + "teacher/putHomeworks";
export const putFile = URL + "teacher/upload";
export const getFile = URL + "student/download?fileName=";
export const getGrades = URL + "student/getGrades";
export const getStudentsHomeworks = URL + "teacher/getStudentsHomeworks";
export const pubComments = URL + "teacher/comments";
export const pubSignIn = URL + "teacher/putSignIn";
export const getSubjects = URL + "teacher/getSubjects";
export const changeWeight = URL + "teacher/changeWeight";
export const cancleSignIns = URL + "teacher/cancleSignIns";
export const getHomeworks = URL + "student/getHomeworks";
export const getPointsLog = URL + "student/getLogs";
export const getSignIns = URL + "student/getSignIns";
export const signIn = URL + "student/signIn";
export const logURL = URL + permission + "/log";
export const registerUser = URL + "user/registerUser";
// export const getFile = "http://localhost:8888/student/download?.docx"